﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserInfManager.aspx.cs" Inherits="GuoTao.Web.Admin.UserInfManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="inc/dv.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #CAD7F7;
}
-->
</style>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
     <title>会员管理</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

<table  width="85%" border="0" cellspacing="1" cellpadding="0"  align=center class="tableBorder">
  <tr> 
<th height=24 colspan=2><B>会员管理</B></th>
</tr>
  <tr>
    <td style="height: 158px">
        <asp:GridView Width="100%" ID="GridView1" runat="server" align="center" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" border="0" bordercolordark="#ecf5ff" bordercolorlight="#ceceff"
            CellPadding="0" CellSpacing="1" DataKeyNames="userid" GridLines="None" 
            PageSize="5" OnPageIndexChanging="GridView1_PageIndexChanging" >
            <Columns>
                <asp:TemplateField HeaderText="ID">
                    <ItemTemplate>
                        <%# Eval("userid")%>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:Label ID="lblBigclassid" runat="server" Text='<%# Eval("userid") %>'></asp:Label>
                    </EditItemTemplate>
                    <HeaderStyle BackColor="#B8DEDC" CssClass="forumrow" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="30px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="会员帐号">
                    <ItemTemplate>
                        <asp:Label ID="LblUseraccount" runat="server" Text='<%# Eval("useraccount") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="TxtUseraccount" runat="server" Text='<%# Eval("useraccount") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <HeaderStyle BackColor="#B8DEDC" CssClass="forumrow" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="真实名称">
                    <ItemTemplate>
                        <asp:Label ID="lblUsername" runat="server" Text='<%# Eval("username") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="TxtUsername" runat="server" Text='<%# Eval("username") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <HeaderStyle BackColor="#B8DEDC" CssClass="forumrow" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="联系电话">
                    <ItemTemplate>
                        <asp:Label ID="lblUserphone" runat="server" Text='<%# Eval("userphone") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="TxtUserphone" runat="server" Text='<%# Eval("userphone") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <HeaderStyle BackColor="#B8DEDC" CssClass="forumrow" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="联系Email">
                    <ItemTemplate>
                        <asp:Label ID="lblUseremail" runat="server" Text='<%# Eval("useremail") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="txtUseremail" runat="server" Text='<%# Eval("useremail") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <HeaderStyle BackColor="#B8DEDC" CssClass="forumrow" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="150px" />
                </asp:TemplateField>          
                <asp:TemplateField HeaderText="详细地址">
                    <ItemTemplate>
                        <asp:Label ID="lblUseradde" runat="server" Text='<%# Eval("useradd") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="TxtUseradd" runat="server" Text='<%# Eval("useradd") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <HeaderStyle BackColor="#B8DEDC" CssClass="forumrow" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" />
                </asp:TemplateField>                                                                            
                <asp:HyperLinkField HeaderText="修改" NavigateUrl="~/Admin/UserInfMod.aspx" DataNavigateUrlFields="userid,username" DataNavigateUrlFormatString="UserInfMod.aspx?flag=mod&userid={0}&username={1}" Text="修改" >
                    <HeaderStyle BackColor="#B8DEDC" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="30px" />
                </asp:HyperLinkField>
                <asp:HyperLinkField HeaderText="删除" NavigateUrl="~/Admin/UserInfMod.aspx" DataNavigateUrlFields="userid,username" DataNavigateUrlFormatString="UserInfMod.aspx?flag=Del&userid={0}&username={1}" Text="删除" >
                    <HeaderStyle BackColor="#B8DEDC" ForeColor="Black" />
                    <ItemStyle CssClass="forumrow" Width="30px" />
                </asp:HyperLinkField>
            </Columns>
        </asp:GridView>
   </td>
  </tr>

</table>
    </div>
    </form>
</body>
</html>
